 <?php 

$username = $_GET['username'];
//$username='trang';

include("../db/opendb.php");
include("functions.php");

$query = "select l.OID, l.TITLE, l.STREETNUM, l.STREETNAME, l.STREETSUFFIX, l.CITY, l.STATE from BIZPROPERTIES l inner join Biz_Owner_Con p on p.Prop_OID = l.OID inner join Users u on u.ID = p.Owner where u.Username = '".$username."' order by l.TITLE";

$result = mysql_query($query) or die ("SQL Error".mysql_error());

$xml = getXML($result);

echo $xml;

?>
